package com.how2java.tmall.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class TestController {
    @GetMapping(value = "/testC")
    public String editCategory() {
        return "test";
    }

    @GetMapping(value = "/index")
    public String indexPage() {
        return "admin/index";
    }
}
